home *** CD-ROM | disk | FTP | other *** search
/ Cubase Magazine 52 / Issue #52.iso / pc / 2-SOFTWARE / MQv8Demo / MQ.Z / Bank Select Macro.txt < prev    next >
Encoding:
Text File  |  1999-06-27  |  921 b   |  102 lines

  1. Tone Select Macros
  2. ------------------
  3.  
  4. f:\mquest\instr\mc-505\Patch List.txt
  5.  
  6. READ PATCH NUMBER
  7.  
  8. gets the bank in use,
  9. W contains Part number, converted to offset
  10. X contains bank #  (CC)
  11. Y contains patch # (PC)
  12. V30 = extracted patch #
  13. V31 = extracted Bank #
  14. V32 = counts validly tested values
  15. V33 = loop counter
  16.  
  17.  
  18. MW * V3 MW + 2 MW + v1 
  19. FR x W
  20. MW + 1
  21. FR y W
  22.  
  23. mz = 2
  24. MV33 = 0
  25.  
  26. L 6 [
  27.  
  28. S 14 { 
  29. 0 0 
  30. 3 1 
  31. 3 2 
  32. 0 3 
  33. 0 4 
  34. 0 5 
  35. 0 6 
  36.  
  37.  
  38. MV32 = 0
  39.  
  40. FT V30 Z
  41. mz + 1
  42. ft v31 Z 
  43. mz + 1
  44.  
  45. ifq v30 x 
  46.   mv32 + 1
  47. ife
  48.  
  49. ifq v31 y
  50.   mv32 + 1
  51. ife
  52.  
  53. ifq v32 2
  54.   mv34 = v33  
  55.   break
  56.   ret v34 
  57. ife
  58.  
  59. mv33 + 1
  60. ]
  61.  
  62.  
  63. ret v34 
  64.  
  65.  
  66.  
  67.  
  68. WRITE Bank NUMBER
  69.  
  70. sets the tone in use,
  71. X = value adjusted to offset
  72.  
  73.  
  74. mx * 2
  75. mx + 2
  76.  
  77. S 14 { 
  78. 0 0 
  79. 3 1 
  80. 3 2 
  81. 0 3 
  82. 0 4 
  83. 0 5 
  84. 0 6 
  85.  
  86.  
  87. FT Y X 
  88. mx + 1
  89. FT Z X 
  90.  
  91. a   
  92.  
  93. MW * V3 MW + 2 mw + v1 
  94. Fs Y W
  95. MW + 1
  96. Fs Z w
  97.  
  98.  
  99.  
  100.